package com.djz.stuinfomge.entity;

/**
 * Speciality entity. @author MyEclipse Persistence Tools
 */

public class Speciality implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Speciality parent;

	// Constructors

	/** default constructor */
	public Speciality() {
		
	}

	

	
	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}




	public Speciality getParent() {
		return parent;
	}




	public void setParent(Speciality parent) {
		this.parent = parent;
	}

	
}
